package cn.touna.jss.modules.third.tencent.dto;

import cn.touna.jss.common.util.DateUtil;

import java.io.Serializable;

/**
 ********************************************************
 * 身份识别请求类
 * @author zhangjialian
 * @Date 2018-08-10 10:20
 * @Version V1.0
 ********************************************************/
public class IdcardRequest implements Serializable{
    /**
     * 0 为身份证有照片的一面（正面）；1 为身份证有国徽的一面（反面）
     */
    private String type;
    /**
     * 手机号
     */
    private String mobile;

    /**
     * 照片机密md5值
     */
    private String imageMd5;


    /**
     * 图片 url
     */
    private String url;


    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
    private String queryTime= DateUtil.getCurrentLocal();

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getImageMd5() {
        return imageMd5;
    }

    public void setImageMd5(String imageMd5) {
        this.imageMd5 = imageMd5;
    }

    public String getQueryTime() {
        return queryTime;
    }

    public void setQueryTime(String queryTime) {
        this.queryTime = queryTime;
    }

    @Override
    public String toString() {
        return "IdcardRequest{" +
                "type='" + type + '\'' +
                ", mobile='" + mobile + '\'' +
                ", imageMd5='" + imageMd5 + '\'' +
                ", url='" + url + '\'' +
                ", queryTime='" + queryTime + '\'' +
                '}';
    }
}
